<!DOCTYPE HTML>
<html>
<body>

<div style="float:left; border:4px dotted blue;">
  <div style="overflow:hidden">text<br>more text</div>
</div>

</body>
</html>
